<html><!-- Copyright (C) 2007 Laurent A.V. Szyster - Copylef GPL 2.0 -->
<head>
  <title>protocols.js > Documentation</title>
  <link href="site.css" type="text/css" rel="stylesheet"></link>
  <link href="protocols.css" type="text/css" rel="stylesheet"></link>
</head>
<body>
<div>  
  <h1><a href="index.html">protocols.js</a></h1>
  <div class="menu">
    <a href="licence.html">Licence</a>
    <a href="http://code.google.com/p/protocols/source">Sources</a>
  </div>
  <h2>Documentation</h2>
  <ol>
    <li><a href="functions.html">Functions</a></li>
    <li><a href="HTTP.html">Hypertext Transfer Protocol (HTTP)</a></li>
    <li><a href="HTML.html">Hypertext Markup Language (HTML)</a></li>
    <li><a href="CSS.html">Cascading Style Sheets (CSS)</a></li>
    <li><a href="JSON.html">JavaScript Object Notation (JSON)</a></li>
  </ol>
  <p>
    In so far as possible, each API is documented with an interactive 
    synopsis that is executed when clicked and highlighted on hover. 
    For instance:
  </p>
  <pre class="synopsis" onclick="eval_synopsis(this)"
    >alert('hello'); 
HTML.update($('updated'), 'Hello World!');</pre>
  <p>
    Usually, those examples yield a simple message box with the result of a function.
  </p>  
  <div id="updated" class="test">
    ...
  </div>
  <p>
    Eventually the document parts updated by a synopsis are highlighted as above.
  </p>
</div>
<script src="protocols.js" type="text/javascript"></script>
<script src="tests.js" type="text/javascript"></script>
</body>
</html>